package com.woniuxy.microretailserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableFeignClients
@MapperScan("com.woniuxy.microretailserver.mapper")
@EnableTransactionManagement
@EnableEurekaClient
@SpringBootApplication
public class MicroRetailServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroRetailServerApplication.class, args);
    }

}
